# 在这里写上你的代码 :-)
from microbit import *

# 定义数组，飞机的5种状态
plane = [
    Image("00000:" "00000:" "00009:" "00000:" "00000"),
    Image("00009:" "00009:" "00099:" "00009:" "00009"),
    Image("00090:" "00090:" "00999:" "00090:" "00090"),
    Image("00900:" "00909:" "09999:" "00909:" "00900"),
    Image("09000:" "09090:" "99999:" "09090:" "09000"),
    Image("90000:" "90900:" "99990:" "90900:" "90000"),
    Image("00000:" "09000:" "99900:" "09000:" "00000"),
    Image("00000:" "90000:" "99000:" "90000:" "00000"),
    Image("00000:" "00000:" "90000:" "00000:" "00000"),
    Image("00000:" "00000:" "00000:" "00000:" "00000"),
]
# 循环5次
for i in range(10):
    # 显示飞机的i种形态
    display.show(plane[i])
    # 等待3秒
    sleep(1000)
